package utils

import (
	"fmt"
	"os"
	"path/filepath"
)

func Prompt (tip string) string {
	var name string
	fmt.Printf("%s", tip)
	fmt.Scanln(&name)
	return name
}

func ExecPath () (string, error) {
	execInfo, err := os.Executable()
	execPath := filepath.Dir(execInfo)
	return execPath, err
}